package com.apidocs.demo.entity;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Result<T> {
    // 自定义状态码
    private int code = 0;
    // 提示
    private String msg;
    // 挂债数据
    private T data;


    public  static <T> Result<T> ok(){
        return new Result<>();
    }
}
